from time import sleep
from common.basepage import BasePage
class RentLogin(BasePage):
    def __init__(self,driver=None):
        super().__init__(driver)
        self.usernameLoc = "id=loginname"
        self.pwdLoc = "id=pwd"
        self.submitLoc = 'xpath=//*[@id="loginFrm"]/div[5]/button'
    def enterUserName(self,name):
        self.input(self.usernameLoc,name)
    def enterPassword(self,password):
        self.input(self.pwdLoc,password)